import http from '../utils/http'

// 代码运行相关 API

export const runCode = (payload) => http.post('/api/run', payload)

export const runCodeAdvanced = (payload) => http.post('/api/run/advanced', payload)

export const getSupportedLanguages = () => http.get('/api/languages')

export const getResourceStats = () => http.get('/api/stats')

